package frontend.model.reports;

import backend.model.admin.Project;
import backend.model.admin.Sfi;
import backend.model.worklog.WorkLog;

import java.io.Serializable;
import java.util.List;

public class HoursPerProjectSfiReportEntry implements Serializable, Comparable {

    private Project project;
    private Sfi sfi;
    private int totalHoursForInternalTeams;
    private int totalHoursForExternalTeams;

    public HoursPerProjectSfiReportEntry(List<WorkLog> workLogListForProjectAndSfiPair) {
        this.project = workLogListForProjectAndSfiPair.get(0).getProject();
        this.sfi = workLogListForProjectAndSfiPair.get(0).getSfi();
    }

    @Override
    public int compareTo(Object o) {
        return 0;
        // TODO: Implement this
    }

    public Project getProject() {
        return project;
    }

    public void setProject(Project project) {
        this.project = project;
    }

    public Sfi getSfi() {
        return sfi;
    }

    public void setSfi(Sfi sfi) {
        this.sfi = sfi;
    }

    public int getTotalHoursForInternalTeams() {
        return totalHoursForInternalTeams;
    }

    public void setTotalHoursForInternalTeams(int totalHoursForInternalTeams) {
        this.totalHoursForInternalTeams = totalHoursForInternalTeams;
    }

    public int getTotalHoursForExternalTeams() {
        return totalHoursForExternalTeams;
    }

    public void setTotalHoursForExternalTeams(int totalHoursForExternalTeams) {
        this.totalHoursForExternalTeams = totalHoursForExternalTeams;
    }
}
